package com.ekingstar.framework.domain;

import java.util.Date;

/**
 * TSystemLog entity. @author MyEclipse Persistence Tools
 */
public class SystemLog extends AbstractSystemLog implements
		java.io.Serializable {

	// Constructors
	public static enum LogType{
		appstart{
			public String toString(){
				return "系统启动";
			}
		},
		login
		{
			public String toString(){
				return "登陆";
			}
		},
		logout{
			public String toString(){
				return "退出";
			}
		},
		biz{
			public String toString(){
				return "业务";
			}
		},
		
		select{
			public String toString(){
				return "查询";
			}
		},
		add{
			public String toString(){
				return "添加";
			}
		},
		delete{
			public String toString(){
				return "删除";
			}
		},
		updata{
			public String toString(){
				return "更新";
			}
		},
		kick_user{
			public String toString(){
				return "踢出用户";
			}
		},
		b_updata{
			public String toString(){
				return "批量更新";
			}
		},
		b_delete{
			public String toString(){
				return "批量删除";
			}
		}
		
	};
	
	private String beginDate;
	private String endDate;
	

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	private String modelName;
	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	/** default constructor */
	private String name;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public SystemLog() {
	}

	/** full constructor */
	public SystemLog(String userId, String type, String ip, Date time,
			String description) {
		super(userId, type, ip, time, description);
	}
}
